package com.honglv.pojo.vo;

import com.honglv.pojo.entity.Attractions;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class GetRounteVO {

    //路线id
    private Long id;

    //路线名称
    private String name;

    //路线图片
    private List<String> pictures;

    //路线介绍内容
    private String context;

    //城市
    private String city;

    //浏览量
    private Long views;

    //点赞量
    private Long like;

    //点赞状态
    private Integer likeStatus;

    //作者名
    private String authorName;

    //作者头像
    private String authorAvatar;

    //景区对象集合
    private List<AttractionsVO> attractions;

}
@Data
@AllArgsConstructor
@NoArgsConstructor
class AttractionsVO{

    //景区id
    private Long id;

    //景区名
    private String name;

    //景区图片
    private List<String> pictures;


}



